export const isStatusName = (type: string, status: Number, stockAuditStatus?: any, stockStatus?: any) => {
    if (type === '7') {
        return '初审中'
    } else if (type === '8' || type === '9' || type === '10') {
        return '初审驳回'
    } else if (type === '11' && status === 1) {
        return '初审通过'
    } else if (type === '11' && status === 0) {
        return '复审中'
    } else if (type === '12') {
        return '复审驳回'
    } else if (type === '13') {
        return '复审通过'
    } else if (type === '14') {
        return '补充合同'
    } else if (type === '15' && status === 1) {
        return '无合同通过'
    } else if (type === '15' && status === 0) {
        return '待入库'
    } else if (type === '16') {
        return '入库中'
    } else if (type === '17') {
        return '入库驳回'
    } else if (type === '18') {
        return '入库通过'
    } else if (type === '19') {
        return '变审中'
    } else if (type === '20') {
        return '变价驳回'
    } else if (type === '21' && status !== 4) {
        return '变审通过'
    } else if (status === 4 && stockAuditStatus !== 2) {
        return '待接收'
    } else if (status === 4 && stockAuditStatus === 2) {
        return '已接收'
    } else if (status === 3 && stockStatus == '0') {
        return '待审批'
    } else if (status === 3 && stockStatus == '1') {
        return '已驳回'
    } else if (status === 3 && stockStatus == '2') {
        return '已通过'
    } else if (type === '-1') {
        return '已下架'
    } else if (type === '-2') {
        return '已退还'
    } else if (type === '22') {
        return '无合同审批中'
    } else {
        return ''
    }
}